//
//  YWKLoginAndRegistViewModel.m
//  YWKUser
//
//  Created by Admin on 16/5/10.
//  Copyright © 2016年 iCareTech. All rights reserved.
//

#import "YWKLoginAndRegistViewModel.h"

@interface YWKLoginAndRegistViewModel ()

@property (nonatomic, strong) YWKLoginAndRegistModel * model;

@end

@implementation YWKLoginAndRegistViewModel

- (void)fetchDataWithUserName:(NSString *)name{
    
    [self.model fetchDataWithUserName:name];
}

- (YWKLoginAndRegistModel *)model{
    
    if (!_model) {
        _model = [[YWKLoginAndRegistModel alloc]init];
    }
    return _model;
}

@end
